package com.im.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.im.app.model.Test;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TestMapper extends BaseMapper<Test> {

    @Select(" select * from `test` where `value` = #{value}")
    Test selectTestByValue(@Param("value") String value);

    int insertTest(Test test);

}
